PDFPluginInfo=function(){getBrowserName=function(){return this.name=this.name||function(){var a=navigator?navigator.userAgent.toLowerCase():"other";return a.indexOf("chrome")>-1?"chrome":a.indexOf("safari")>-1?"safari":a.indexOf("msie")>-1?"ie":a.indexOf("firefox")>-1?"firefox":a}()};getActiveXObject=function(a){try{return new ActiveXObject(a)}catch(b){}};getNavigatorPlugin=function(b){for(key in navigator.plugins){var a=navigator.plugins[key];if(a.name==b)return a}};this.IsPDFPluginInstalled=function(){return this.isAcrobatInstalled()||this.isChromePDFInstalled()||this.isBuildInPDFInstalled()};this.isChromePDFInstalled=function(){return!!getNavigatorPlugin("Chrome PDF Viewer")};this.isAcrobatInstalled=function(){var a=function(){return getBrowserName()=="ie"?getActiveXObject("AcroPDF.PDF")||getActiveXObject("PDF.PdfCtrl"):getNavigatorPlugin("Adobe Acrobat")};return!!a()};this.isBuildInPDFInstalled=function(){return!!getNavigatorPlugin("WebKit built-in PDF")}};function InitializePDFPlugin(a){var b=new PDFPluginInfo;if(b.isAcrobatInstalled()&&document.getElementById(a)!=null)document.getElementById(a).innerHTML=""};